Fix --all-targets in a crate without a lib.
authorEric Huss <eric@huss.org>
Mon, 30 Oct 2017 21:42:47 +0000 (14:42 -0700)
committerEric Huss <eric@huss.org>
Mon, 30 Oct 2017 21:42:47 +0000 (14:42 -0700)
commitb9497ab2f7a6ffb2214c0ce946905cd454d23416
treeab533a0a455c1b28992199b1439ccbd10b778421
parent8be175e37dbd2bcd84078b1a3512c5ac04ae77cb
Fix --all-targets in a crate without a lib.

Fixes #4615.
src/cargo/ops/cargo_compile.rs
tests/build.rs